CRPEJob::GetNthFormula

Use CRPEJob::GetNthFormula to obtain the formula name and formula text of a specific formula in the report. Once the formula name is obtained, formula text can be changed by using CRPEJob::SetFormula.

Syntax
BOOL GetNthFormula (
        short formulaN,
        CString &formulaName,
        CString &formulaText );
Parameters

formulaN

Specifies the number of the formula about which you want to retrieve information. The first formula added to your report is 0, the second is 1, etc.

formulaName

Reference to the CString containing the name of the formula specified.

formulaText

Reference to the CString containing the text of the formula specified.

Returns


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com